package cc.yugu.yhdw.webserver.service.hdw;

import cc.yugu.yhdw.common.domain.hdw.BatteryAgent;
import cc.yugu.yhdw.webserver.persistence.hdw.BatteryAgentMapper;
import cc.yugu.yhdw.webserver.persistence.hdw.BatteryMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 电池和运营商关联关系业务
 *
 * @Date:Created in 2018/7/26 10:16
 * @Author:
 * @Modified By: zxj 2018/7/26 10:16
 */
@Service
public class BatteryAgentService {

    @Autowired
    BatteryMapper batteryMapper;
    @Autowired
    BatteryAgentMapper batteryAgentMapper;

    /**
     * 查询
     * @Param []
     * @Return cc.yugu.yhdw.common.domain.hdw.BatteryAgent
     * @Author zxj 2018/7/26
     */
    public BatteryAgent find(String batteryId) {
        BatteryAgent batteryAgent = batteryAgentMapper.find(batteryId);
        return batteryAgent;
    }

}
